﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Detail.aspx.vb" Inherits="Korean_Food.Detail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="GordanSqlDataSource1">
            <Columns>
                <asp:BoundField DataField="Restaurant_Name" HeaderText="Restaurant_Name" 
                    SortExpression="Restaurant_Name" />
                <asp:BoundField DataField="Post_Code" HeaderText="Post_Code" 
                    SortExpression="Post_Code" />
                <asp:BoundField DataField="Restaurant_Menu" HeaderText="Restaurant_Menu" 
                    SortExpression="Restaurant_Menu" />
                <asp:BoundField DataField="Michelin_Stars" HeaderText="Michelin_Stars" 
                    SortExpression="Michelin_Stars" />
                <asp:ImageField DataAlternateTextField="Restaurant_Name" 
                    DataImageUrlField="Restaurant_Picture">
                </asp:ImageField>
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="GordanSqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:RestaurantConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:RestaurantConnectionString.ProviderName %>" 
            SelectCommand="SELECT [Restaurant Name] AS Restaurant_Name, [Post Code] AS Post_Code, [Restaurant Menu] AS Restaurant_Menu, [Restaurant Picture] AS Restaurant_Picture, [Michelin Stars] AS Michelin_Stars FROM [Restuarant] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="id" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
</asp:Content>
